package com.dragon.modules.yuegou.model.pay;

import com.dragon.modules.yuegou.enums.PayType;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.List;

/**
 * 统一支付参数model
 */
public class UnifyPayModel {

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("appid")
    private String appId;

    @ApiModelProperty("会员id")
    private String memberId;

    @ApiModelProperty("商户用户id")
    private String merchantUserId;

    @ApiModelProperty("商户id")
    private String merchantId;

    @ApiModelProperty("openId")
    private String openId;

    @ApiModelProperty("支付类型 悦币-YUECOIN-0、悦卡-YUECARD-1、微信-WEICHAT-2、支付宝-ALIPAY-3、积分-POINTS-4")
    private PayType payType;

    @ApiModelProperty("悦卡明细 悦卡支付传")
    private List<YueCardPayModel> yueCards;

    @ApiModelProperty("原价格 ")
    private BigDecimal price;

    @ApiModelProperty("实际支付消费金额")
    private BigDecimal practicalPay;

    @ApiModelProperty("应用类型 0 小程序 1APP")
    private String appType;
    
    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getAppType() {
		return appType;
	}

	public void setAppType(String appType) {
		this.appType = appType;
	}

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public PayType getPayType() {
        return payType;
    }

    public void setPayType(PayType payType) {
        this.payType = payType;
    }

    public List<YueCardPayModel> getYueCards() {
        return yueCards;
    }

    public void setYueCards(List<YueCardPayModel> yueCards) {
        this.yueCards = yueCards;
    }

    public String getMerchantUserId() {
        return merchantUserId;
    }

    public void setMerchantUserId(String merchantUserId) {
        this.merchantUserId = merchantUserId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPracticalPay() {
        return practicalPay;
    }

    public void setPracticalPay(BigDecimal practicalPay) {
        this.practicalPay = practicalPay;
    }

    public String getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(String merchantId) {
        this.merchantId = merchantId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    @Override
    public String toString() {
        return "UnifyPayModel{" + "orderNo='" + orderNo + '\'' + ", appId='" + appId + '\'' + ", memberId=" + memberId + ", merchantUserId=" + merchantUserId
                + ", merchantId=" + merchantId + ", payType=" + payType + ", yueCards=" + yueCards+ ", price=" + price + ", practicalPay=" + practicalPay + '}';
    }
}
